<template>
  <div>
     <van-tabs v-model="active" animated class="bt" sticky> 
      <van-tab title="表情">
          <emoji></emoji>
      </van-tab>
      <van-tab title="壁纸">
          <paper></paper>
      </van-tab>
    </van-tabs>
    <router-view />
  </div>
</template>
<script>
import paper from "../components/paper"
import emoji from "../components/emoji"

export default {
  data() {
    return {
      // active:this.$store.getters.getUrl,
      active:"",
    }
  },
  watch:{
    // active(){
    //   this.$store.commit("setUrl",this.active)
    // }
  },
  components:{
    "paper":paper,
    "emoji":emoji,
  },
}
</script>